package com.hanthink.system.domain.equipment;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hanthink.common.annotation.Excel;
import com.hanthink.common.core.domain.BaseEntity;

/**
 * 设备状态日志对象 EM_EQUIP_STATUS_LOG
 * 
 * @author hanthink
 * @date 2021-07-19
 */
public class EmEquipStatusLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID主键 */
    private Long id;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String equipName;
    
    private String equipKey;

    /** 车间 */
    @Excel(name = "车间")
    private String area;

    /** 设备状态 0：停机 1：运行 */
    private String status;

    /** 工厂KEY */
    @Excel(name = "工厂")
    private String siteKey;
    @Excel(name = "开班时间")
    private String createTimeStr;
    @Excel(name = "设备状态")
    private String statusStr;
    private String logDate;
    private String shift;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipName(String equipName) 
    {
        this.equipName = equipName;
    }

    public String getEquipName() 
    {
        return equipName;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSiteKey(String siteKey) 
    {
        this.siteKey = siteKey;
    }

    public String getSiteKey() 
    {
        return siteKey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipName", getEquipName())
            .append("area", getArea())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("siteKey", getSiteKey())
            .toString();
    }

	public String getCreateTimeStr() {
		return createTimeStr;
	}

	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}

	public String getLogDate() {
		return logDate;
	}

	public void setLogDate(String logDate) {
		this.logDate = logDate;
	}

	public String getShift() {
		return shift;
	}

	public void setShift(String shift) {
		this.shift = shift;
	}

	public String getEquipKey() {
		return equipKey;
	}

	public void setEquipKey(String equipKey) {
		this.equipKey = equipKey;
	}
}
